package day4;

/**
 * @author oldliu
 * @since 1.0
 */
public class LaoTest {
    public static void main(String[] args) {
        Laoshi l=new Laoshi();
//        l.name="老黄";
//        l.age=12;
        l.setName("老黄");
        l.setAge(24);
        l.show();
        System.out.println("这个老师今年"+l.getAge());
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Laoshi l2=new Laoshi("老郭",14);
        l2.show();
    }
}
